home *** CD-ROM | disk | FTP | other *** search
- Path: mother.usf.edu!news
- From: yatesc@csee.usf.edu (Randy Yates)
- Newsgroups: comp.lang.c++
- Subject: Re: Getting Rid of BC40RTL.DLL
- Date: 22 Mar 1996 15:29:28 GMT
- Organization: University of South Florida
- Message-ID: <4iuh0o$o0p@mother.usf.edu>
- References: <4iik7p$lf5@mother.usf.edu>
- NNTP-Posting-Host: ppp166.cfr.usf.edu
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.93.14
-
- In article <4iik7p$lf5@mother.usf.edu>, yatesc@csee.usf.edu says...
- >
- >I'm developing a Windows 3.x application using Borland C++ 4.0
- >(yeah, it's old but it still works!). The app wants to see the
- >BC40RTL.DLL loaded. I thought, "Aha! Simply change the libraries
- >to "static" in the AppExpert, but alas, that resulted in several
- >unresolved externals at link time (namely, all the fstream.h stuff).
- >
- >Any pointers would be appreciated. Direct e-mail is welcomed.
- >
-
- Well I figured it out and thought some of you might also be interested
- to know the answer.
-
- First let me back up and say that I had originally created the
- project IDE with dynamic libraries specified. It was after I
- had created the executable that I decided I wanted to go back and
- change the libraries to static.
-
- Apparently, the IDE #defines _RTLDLL when you specify dynamic
- libraries, and changing an existing project from static to
- dynamic does not remove this define.
-
- When using the "Edit Local Options" right click option
- of the .exe node in the project window, select the compiler
- category. In that window you will see "Defines" has _RTLDLL.
- Remove it.
-
- [Note: I removed typos in my previous message and subject line.]
- --
- % Randy Yates % "...the answer lies within your soul
- % EE/Mathematics Student % 'cause no one knows which side
- % University of South Florida % the coin will fall."
- % <yatesc@csee.usf.edu> % 'Big Wheels', *Out of the Blue*, ELO
-
-